package com.diana.task;

import com.diana.service.ManagerMainService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.time.LocalDate;
import java.util.HashMap;

/**
 * testTask为spring bean的名称
 */
@Component("testTask")
public class TestTask implements ITask {
	private Logger logger = LoggerFactory.getLogger(getClass());

	@Autowired
	private ManagerMainService managerMainService;

	@Override
	public void run(String params){

		logger.info("TestTask定时任务,参数:{}",params);
	}
}
